package com.xiaoye.qbproject.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaoye.qbproject.domain.QbWarfareExamples;
import com.xiaoye.qbproject.vo.QbWarfareExamplesImportV2Vo;
import com.xiaoye.qbproject.vo.dropDown.QbWarfareExamplesDropDownVo;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author Administrator
 * @description 针对表【QB_WARFARE_EXAMPLES(战争战例)】的数据库操作Service
 * @createDate 2024-12-30 14:37:14
 */
public interface QbWarfareExamplesService extends IService<QbWarfareExamples> {


    void importExcel(List<QbWarfareExamples> file);

    /**
     * @description: 战例下拉数据
     * @author: ChenYao
     * @return: java.util.List<com.xiaoye.qbproject.vo.dropDown.QbWarfareExamplesDropDownVo>
     * @ceateDate: 2025-01-02 13:26
     */

    List<QbWarfareExamplesDropDownVo> dropDown();

    void delCache();

    /**
     * @param ids
     * @param response
     * @description: 导出战例数据到owl文件
     * @author: ChenYao
     * @return: void
     * @ceateDate: 2025-01-03 16:36
     */

    void exportOwl(String[] ids, HttpServletResponse response);

    void saveWarfareExamlesV2(List<QbWarfareExamplesImportV2Vo> qbWarfareExamplesImportV2Vos, String countryName);
}
